package com.iotimc.attendancesystem.entity;

import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.ToOne;

import java.util.Date;
import java.util.UUID;

/**
 *
 * @author david
 * @date 2017/12/22
 */

public class PersonImageEntity {
    @Id
    private String id = UUID.randomUUID().toString().replace("-","");
    /**
     * 人脸特征码ID
     */
    private int iCodeId;
    /**
     * 人脸特征码
     */
    private byte[] imageCode;
    /**
     * 人脸头像
     */
    private byte[] image;

    private String personId;
    @ToOne(joinProperty = "personId")
    private PersonEntity personEntity;
    private Date createTime;
    private Date updateTime;

}
